package com.cc.moxingvoice.ui.main;

import android.databinding.DataBindingUtil;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.cc.moxingvoice.R;
import com.cc.moxingvoice.base.BaseFragment;
import com.cc.moxingvoice.databinding.FragmentFindBinding;
import com.cc.moxingvoice.lock.AppBarLock;
import com.cc.moxingvoice.lock.FindLock;

/**
 * 创建日期：2018/3/24 on 17:29
 * 描述：
 * 作者：郭士超
 * QQ：1169380200
 */

public class FindFragment extends BaseFragment{

    private FragmentFindBinding mBinding;
    private FindLock mLock;
    private AppBarLock appBarLock;

    @Override
    protected View initBinding(LayoutInflater inflater, ViewGroup container) {
        mBinding = DataBindingUtil.inflate(inflater, R.layout.fragment_find, container, false);
        mLock = new FindLock(getContext(), mBinding, mBundle);
        mBinding.setLock(mLock);
        appBarLock = new AppBarLock(getContext(),  mLock, getString(R.string.find),
                0, 0, "", "", AppBarLock.NULL, AppBarLock.NULL);
        mBinding.appBar.setAppBarLock(appBarLock);
        return mBinding.getRoot();
    }

    @Override
    protected void init() {

    }

}
